package org.andy.shop.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class ViewController {
	
	@GetMapping("/login")
	public String loginUI() {
		return "/login";
	}
	
	@GetMapping("/home")
	public String homeUI() {
		return "/home";
	}
	
	@GetMapping("/user")
	public String userUI() {
		return "/user";
	}
	
	@GetMapping("/good")
	public String goodUI() {
		return "/good";
	}
	
	@GetMapping("/menu")
	public String menuUI() {
		return "/menu";
	}
}
